/**
 * URL跳转
 */
export default {
  namespaced: true,
  state: {
    url: '',
  },
  getters: {
    url: state => state.url
  },
  mutations: {
    SET_URL: (state, data) => {
      state.url = data
    },
  },
  actions: {
    set_url: ({ commit }, data) => {
      commit('SET_URL', data)
    },
  }
}
